﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NasuTek.Shion
{
    public partial class RawLog : Form
    {
        bool closing = false;
        public RawLog()
        {
            InitializeComponent();
        }

        private void RawLog_Load(object sender, EventArgs e)
        {
            closing = false;
        }

        public void Write(string w)
        {
            textBox1.AppendText(w + Environment.NewLine);
        }

        private void RawLog_FormClosing(object sender, FormClosingEventArgs e)
        {
            e.Cancel = true;
            closing = true;
            this.Close();
        }
    }
}
